Skip to content

Add three new demo apps: Popover Toggle, MessageStrip Icons, Message Manager - #688

Merged
oblomov-dev merged 2 commits into
standardfrom
claude/ai-demokit-next-steps-np5uro
Jul 20, 2026
Merged

Add three new demo apps: Popover Toggle, MessageStrip Icons, Message Manager#688
oblomov-dev merged 2 commits into
standardfrom
claude/ai-demokit-next-steps-np5uro

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Adds three new demonstration applications to the abap2UI5 framework showcasing advanced UI patterns and features.

Key Changes

  • z2ui5_cl_demo_app_465: Demonstrates popover toggle functionality using the CONTROL_BY_ID follow-up action pattern. Shows how to imperatively open/close a popover from the backend, anchored to the button that triggered the action.

  • z2ui5_cl_demo_app_466: Illustrates inline icon rendering in MessageStrip using a custom formatter. Demonstrates the expandInlineIcons formatter that replaces %%icon:sap-icon://...%% placeholders with actual icon glyphs, eliminating hardcoded icon codepoints in application code.

  • z2ui5_cl_demo_app_467: Showcases app-authored message management via the z2ui5.cc.MessageManager companion control. Demonstrates how to push application-generated messages (errors, information) into the central message manager, with support for field-level targeting and valueState binding.

  • Updated the main demo app catalog (z2ui5_cl_demo_app_g00) to register all three new demo applications in the "More" section of the Basic II group.

Implementation Details

  • All three apps follow the standard abap2UI5 application interface pattern with z2ui5_if_app implementation
  • Includes corresponding XML metadata files for each class with appropriate descriptions
  • Demonstrates framework features: follow-up actions, custom formatters, and message management integration

https://claude.ai/code/session_01M4yuDTkJkCrG37W7tpPL6s

claude and others added 2 commits July 20, 2026 21:15
Three minimalist demos, one per recent abap2UI5 framework addition:

- app 465 (More - Popover Toggle): toggles a Popover open/closed via
  follow_up_action with cs_event-control_by_id and the new whitelisted
  toggleBy method, anchored to the pressed button's DOM ref
  ($event.oSource.sId) - the controller pattern oPopover.openBy(oButton) /
  oPopover.close().
- app 466 (More - MessageStrip Inline Icons): requires the curated
  formatter module and binds a plain string with %%icon:sap-icon://...%%
  placeholders through Formatter.expandInlineIcons, rendered by a
  MessageStrip with enableFormattedText.
- app 467 (More - Message Manager): drives an ABAP message table into the
  central message model via the invisible z2ui5.cc.MessageManager
  companion control; the app-authored Error targets the Name field and
  the collected messages show in a List bound to the message> model.

Regenerated the basic overview catalog (npm run launchpad); abaplint 0
issues, check-agents-structure clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M4yuDTkJkCrG37W7tpPL6s
@oblomov-dev
oblomov-dev merged commit 2105812 into standard Jul 20, 2026
6 checks passed
@oblomov-dev
oblomov-dev deleted the claude/ai-demokit-next-steps-np5uro branch July 20, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants